<style type="text/css">
	p.png-404 {
		background: url(<?php echo base_url_er(); ?>assets/images/error404.png) top left no-repeat;
		margin: 0 0 10px;
		padding: 0 0 10px 30px;
		border-bottom: 1px solid #B8B8B8;
		display: block;
		width: 538px;
	}
	#wrap{ margin: 40px 70px 100px 70px; }
	ul.err { margin-top: 15px!important; }
	ul.err li{ list-style: square; margin-left: 16px; cursor:pointer;}
	ul.err li a{color: #a0042b; text-decoration:none;}
	ul.err li a:hover{text-decoration:underline;}


</style>
<?php
$title = "Page Not Found | MLME";
function base_url_er(){
	//$this->config =& load_class('Config');
	//return $this->config->item('base_url');
	return  'http://'.$_SERVER['SERVER_NAME'].'/mlme2/';
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
	<link rel="stylesheet" type="text/css" href="<?php echo base_url_er(); ?>assets/css/login.css" />
    <title><?php echo $title; ?></title>
	<script type = 'text/javascript'>
	</script>
</head>
<body>
	<div id = "top">
	</div>
	<div id = "wrapper">
		<header>
			<div id = "logo">
				<a href = "<?php echo base_url_er(); ?>" title = "My Life My Eulogy"><img src = "<?php echo base_url_er()?>assets/images/logo.png" alt = "logo" /></a>
			</div>
			<div id = "menu-area">
				<ul id = "user-menu">
					<?php if(isset($_SESSION['is_logged_in']) && $_SESSION['is_logged_in'] && isset($_SESSION['email'])){?>
						<a href = "<?php echo base_url_er();?>" title = "Home"><li class = "user-home"></li></a>
						<a href = "<?php echo base_url_er();?>profile"><li class = "user-profile"></li></a>
					<?php }else{ ?>
						<a href = "<?php echo base_url_er();?>" title = "Home"><li class = "user-home" style="margin:24px 0 0 134px;"></li></a>
					<?php } ?>
					<a href = "<?php echo base_url_er()?>testimonial" title = "Testimonials"><li class = "user-testi"></li></a>
					<a href = ""><li class = "user-faq"></li></a>
					<a href = "<?php echo base_url_er()?>contact" title = "Contact Us"><li class = "user-contct"></li></a>
				</ul>
			</div>
		</header>
		<div id = "wrap">
			<p class="png-404">The page you requested was not found.</p>
			<p>You may have clicked an expired link or mistyped the address. Some web addresses are case sensitive.</p>
			<ul class="err">
				<li><a href="<?php echo base_url_er() ?>">Return home</a></li>
				<li><a href="javascript:void(0);" onclick="history.back();">Go back to the previous page</a></li>
			</ul>
		</div>
</div>
</div><!--end of wrapper-->

<div id = "footer">
	<div id = "footer-wrap">
		<div id = "footer-left">
			<ul>
				<li><a href = "<?php echo base_url_er();?>home">Home</a></li>
				<?php if(isset($_SESSION['is_logged_in']) && $_SESSION['is_logged_in'] && isset($_SESSION['email'])):?>
					<li><a href = "<?php echo base_url_er();?>profile">Profile</a></li>
				<?php endif;?>
				<li><a href = "<?php echo base_url_er();?>testimonial">Testimonials</a></li>
				<li><a href = "#">Faqs</a></li>
				<li><a href = "<?php echo base_url_er();?>contact">Contact Us</a></li>
			</ul>
		</div>
		<div id = "footer-right">
			<p>&copy; <?php echo date('Y');?> <a href = "">mylifemyeulogy.com</a>.  All Rights Reserved.</p>
		</div>
	</div>
</div>
</body>
</html>